package com.front.peikuahaitao.view.fragment;


import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.front.peikuahaitao.R;
import com.front.peikuahaitao.base.BaseFragment;
import com.front.peikuahaitao.base.BasePresenter;
import com.front.peikuahaitao.presenter.BagPresenter;
import com.front.peikuahaitao.view.impl.IBagView;

/**
 * 这是购物袋
 */
public class BagFragment extends BaseFragment<IBagView, BagPresenter> {
    private static BagFragment instance = null;

    public static BagFragment newInstance() {
            if (instance == null) {
                instance = new BagFragment();
            }
        return instance;
    }

    public BagFragment() {
        // Required empty public constructor
    }


    @Override
    public BagPresenter initPresenter() {
        return new BagPresenter();
    }

    @Override
    public int getLayoutId() {
        return R.layout.fragment_bag;
    }

    @Override
    protected void initData() {

    }

    @Override
    protected void initView() {

    }

}
